import request from '@/utils/request'

// 查询站点综合水质合格率统计列表
export function listDispatchSiteComprehensiveWaterQualityQualifiedRateStats(query) {
  return request({
    url: '/system/dispatchSiteComprehensiveWaterQualityQualifiedRateStats/list',
    method: 'get',
    params: query
  })
}

// 查询站点综合水质合格率统计详细
export function getDispatchSiteComprehensiveWaterQualityQualifiedRateStats(siteComprehensiveWaterQualityQualifiedRateStatsId) {
  return request({
    url: '/system/dispatchSiteComprehensiveWaterQualityQualifiedRateStats/' + siteComprehensiveWaterQualityQualifiedRateStatsId,
    method: 'get'
  })
}

// 新增站点综合水质合格率统计
export function addDispatchSiteComprehensiveWaterQualityQualifiedRateStats(data) {
  return request({
    url: '/system/dispatchSiteComprehensiveWaterQualityQualifiedRateStats',
    method: 'post',
    data: data
  })
}

// 修改站点综合水质合格率统计
export function updateDispatchSiteComprehensiveWaterQualityQualifiedRateStats(data) {
  return request({
    url: '/system/dispatchSiteComprehensiveWaterQualityQualifiedRateStats',
    method: 'put',
    data: data
  })
}

// 删除站点综合水质合格率统计
export function delDispatchSiteComprehensiveWaterQualityQualifiedRateStats(siteComprehensiveWaterQualityQualifiedRateStatsId) {
  return request({
    url: '/system/dispatchSiteComprehensiveWaterQualityQualifiedRateStats/' + siteComprehensiveWaterQualityQualifiedRateStatsId,
    method: 'delete'
  })
}
